<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<section id="main-content">
	<section class="wrapper">
		<!--state overview end-->
		<div class="row">
			<div class="col-lg-12">
				<div class="alert alert-block alert-danger fade in">
					<button data-dismiss="alert" class="close close-sm" type="button">
						<i class="icon-remove"></i>
					</button>
					<strong>注意事项：</strong><br />
					1、由于BPM系统没有提供任何报表数据，并且能从BPM上下载的数据都有不少错误和问题，部分关键信息无法获取（无法获取采购申请人和部门，所有数据单号错误和重复，所有填写的项目名称无法匹配真实的项目，且各类报销混在一个申请中），根据能获取的数据进行了二次整理形成如下可查询数据和查询条件尽量方便使用者查询;<br />
					2、使用时，尽量使用关键字查询，比如项目关键字名称，事由关键字等;<br />
					3、以下数据已经人工剔除了借款的冲销报销.
				</div>

				<section class="panel">
					<header class="panel-heading">
						BPM报销信息
					</header>
					<div class="panel-body">
						<div class="mail-option">
							<!-- <div class="btn-group pull-left">
								<label>报销部门：</label>
							</div>
							<div class="btn-group pull-left">
								<select id="deptCode" class="form-control" style="width: 115px;">
									<option value="">全部</option>
									<option ng-repeat="x in depts" value="{{x.departmentCode}}">{{x.departmentName}}
									</option>
								</select>
							</div>

							<div class="btn-group pull-left">
								<label>姓名：</label>
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="accountName" placeholder="完整名称" style="width: 115px;"
									class="form-control" />
								<input type="hidden" value="" id="searchParam" name="userId" />
							</div>
							<div class="btn-group pull-left">
								<label>付款日期：</label>
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="beginTime" style="width: 120px;" placeholder="开始日期"
									class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="endTime" style="width: 120px;" placeholder="结束日期"
									class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<label>类型：</label>
							</div>
							<div class="btn-group pull-left">
								<select id="type" class="form-control">
									<option value="">全部</option>
									<option value="XJBX">现金报销</option>
									<option value="CLBX">差旅报销</option>
									<option value="ZDBX">招待报销</option>
								</select>
							</div>
							<div class="btn-group pull-left">
								<label>关键字：</label>
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="reason" style="width: 100px;" class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<button class="btn btn-info psearch">搜索</button>
							</div>
							<div class="btn-group pull-left">
								<button class="btn btn-info psearch4">清空条件</button>
							</div>
						</div> -->
							<!-- <div class="mail-option">
								<div class="btn-group pull-left">
									<label>市内交通总金额：{{indoorTrafficMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>办公品总金额：{{officeAmountMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>招待应酬总金额：{{receptionAmountMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>易耗品总金额：{{consumablePriceMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>午餐总金额：{{lunchMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>通讯总金额：{{phoneMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>车辆费总金额：{{carMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>其他总金额：{{elseMoney}}</label>
								</div>
								<div class="btn-group pull-left">
									<label>总金额：{{accountSum}}</label>
								</div>
							</div> -->
							<div class="row">
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										市内交通总金额：￥<span>{{indoorTrafficMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										办公品总金额：￥<span>{{officeAmountMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										招待应酬总金额：￥<span>{{receptionAmountMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										易耗品总金额：￥<span>{{consumablePriceMoney}}</span>元
									</span>
								</div>
							</div>
							<div class="row">
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										午餐总金额：￥<span>{{lunchMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										通讯总金额：￥<span>{{phoneMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										车辆费总金额：￥<span>{{carMoney}}</span>元
									</span>
								</div>
								<div class="col-lg-3">
									<span class="label label-default t-psum" style="margin-bottom:15px;">
										其他总金额：￥<span>{{elseMoney}}</span>元
									</span>
								</div>
							</div>
							<div class="row">
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon" style="position: relative;z-index: 2;">报销部门</span>
										<select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
											id="deptCode">
											<option value="">全部</option>
											<option ng-repeat="x in depts" value="{{x.departmentCode}}">{{x.departmentName}}
											</option>
										</select>
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">姓名</span>
										<input type="text" value="" id="accountName" placeholder="员工姓名" class="form-control"
											style="border-top-right-radius:4px;border-bottom-right-radius:4px;" />
										<input type="hidden" value="" id="searchParam" name="userId" />
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">付款日期</span>
										<input type="text" id="beginTime" class="form-control" placeholder="开始日期">
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">付款日期</span>
										<input type="text" id="endTime" class="form-control" placeholder="结束日期">
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon" style="position: relative;z-index: 2;">类型</span>
										<select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;" id="type">
											<option value="">全部</option>
											<option value="XJBX">现金报销</option>
											<option value="CLBX">差旅报销</option>
											<option value="ZDBX">招待报销</option>
										</select>
									</div>
								</div>
								<div class="col-lg-3">
									<div class="input-group m-bot15">
										<span class="input-group-addon">关键字</span>
										<input type="text" value="" id="reason" class="form-control" />
									</div>
								</div>
								<div class="col-lg-3">
									<button class="btn btn-info psearch" style="margin-bottom:15px;">搜索</button>
									<button class="btn btn-info psearch4" style="margin-bottom:15px;">清空条件</button>
								</div>
								<div class="col-lg-3">
									<span class="label label-info t-psum" style="margin-bottom:15px;">
										总金额：￥<span>{{accountSum}}</span>元
									</span>
								</div>
							</div>


							<div id="bxContainer" class="dlshouwen-grid-container"></div>
							<div id="bxToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</div>
				</section>

				<section class="panel">
					<header class="panel-heading">
						BPM采购信息
					</header>
					<div class="panel-body">
						<div class="row">
							<div class="col-lg-3">
								<div class="input-group m-bot15">
									<span class="input-group-addon">付款日期</span>
									<input type="text" id="beginTime2" class="form-control" placeholder="开始日期">
								</div>
							</div>
							<div class="col-lg-3">
								<div class="input-group m-bot15">
									<span class="input-group-addon">付款日期</span>
									<input type="text" id="endTime2" class="form-control" placeholder="结束日期">
								</div>
							</div>
							<div class="col-lg-3">
								<div class="input-group m-bot15">
									<span class="input-group-addon">关键字</span>
									<input type="text" value="" id="cgreason" class="form-control" />
								</div>
							</div>
							<div class="col-lg-3">
								<button class="btn btn-info psearch2" style="margin-bottom:15px;">搜索</button>
								<button class="btn btn-info psearch3" style="margin-bottom:15px;">清空条件</button>
							</div>
						</div>
						<div class="row">
							<div class="col-lg-3">
								<span class="label label-success t-psum" style="margin-bottom:15px;">
									采购总金额：￥<span>{{cgSum}}</span>元
								</span>
							</div>
						</div>
						<!-- <div class="mail-option">
							<div class="btn-group pull-left">
								<label>付款日期：</label>
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="beginTime2" style="width: 120px;" placeholder="开始日期"
									class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="endTime2" style="width: 120px;" placeholder="结束日期"
									class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<label>关键字：</label>
							</div>
							<div class="btn-group pull-left">
								<input type="text" value="" id="cgreason" style="width: 100px;" class="form-control" />
							</div>
							<div class="btn-group pull-left">
								<button class="btn btn-info psearch2">搜索</button>
							</div>
							<div class="btn-group pull-left">
								<button class="btn btn-info psearch3">清空条件</button>
							</div>
						</div> -->
						<!-- <div class="mail-option">
							<div class="btn-group pull-left">
								<label>采购总金额：{{cgSum}}</label>
							</div>
						</div> -->
						<div id="cgContainer" class="dlshouwen-grid-container"></div>
						<div id="cgToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
					</div>
					<div>
					</div>
				</section>
			</div>
		</div>
	</section>
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="js/seat/bxinfo.js"></script>
<script type="text/javascript">
	$("#beginTime").datepicker({
		format: 'yyyy-mm-dd'
	});

	$("#endTime").datepicker({
		format: 'yyyy-mm-dd'
	});
	$("#beginTime2").datepicker({
		format: 'yyyy-mm-dd'
	});

	$("#endTime2").datepicker({
		format: 'yyyy-mm-dd'
	});
</script>